<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>搜索栏</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        #box{
            width: 1200px;
            height: 800px;
            border: 1px solid red;
            margin: auto;
        }
        input{
            width: 1000px;
            height: 40px;
            border: 1px solid #999;
            position: relative;
            top: 100px;
            left: 100px;

        }
        #img{
            width: 39px;
            height: 37px;
            background: url("img/image.jpg");
            position: relative;
            top: 61px;
            left: 1058px;
        }
        #img2{
            width: 362px;
            height: 192px;
            background: url("img/img2.jpg");
            position: relative;
            top: 300px;
            left: 400px;
        }
    </style>
</head>
<body>
<div id="box">
<input type="text" value="根据资源名称搜索"/>
    <div id="img"></div>
    <div id="img2"></div>
</div>
</body>
</html>